package com.bean.vo;

import com.bean.entity.Classes;
import com.bean.entity.StudentInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生学籍
 */
public class StudentStatusVo implements Serializable {

    private Long studentId;
    private Long id;
    //入学时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date entranceDay;
    //毕业时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date graduteDay;
    //学制
    private Integer studyTime;
    private Integer classesId;
    private Integer gradeId;
    private String school;
    //学生状态
    private Integer status;

    private StudentInfo studentInfo;
    private Classes classes;

    @Override
    public String toString() {
        return "StudentStatusVo{" +
                "studentId=" + studentId +
                ", id=" + id +
                ", entranceDay=" + entranceDay +
                ", graduteDay=" + graduteDay +
                ", studyTime=" + studyTime +
                ", classesId=" + classesId +
                ", gradeId=" + gradeId +
                ", school='" + school + '\'' +
                ", status=" + status +
                ", studentInfo=" + studentInfo +
                ", classes=" + classes +
                '}';
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getEntranceDay() {
        return entranceDay;
    }

    public void setEntranceDay(Date entranceDay) {
        this.entranceDay = entranceDay;
    }

    public Date getGraduteDay() {
        return graduteDay;
    }

    public void setGraduteDay(Date graduteDay) {
        this.graduteDay = graduteDay;
    }

    public Integer getStudyTime() {
        return studyTime;
    }

    public void setStudyTime(Integer studyTime) {
        this.studyTime = studyTime;
    }

    public Integer getClassesId() {
        return classesId;
    }

    public void setClassesId(Integer classesId) {
        this.classesId = classesId;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public StudentInfo getStudentInfo() {
        return studentInfo;
    }

    public void setStudentInfo(StudentInfo studentInfo) {
        this.studentInfo = studentInfo;
    }

    public Classes getClasses() {
        return classes;
    }

    public void setClasses(Classes classes) {
        this.classes = classes;
    }
}
